package com.scuec.tourismwebsite.service;

import com.scuec.tourismwebsite.entity.PostLike;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostLikeService {
    public int insertPostLike(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public int deletePostLike(@Param("user_id") int user_id, @Param("post_id") int post_id);
    public List<PostLike> selectPostLikeById(@Param("user_id") int user_id, @Param("post_id") int post_id);
     List<PostLike> selectLikesByUserId(Integer user_id);
}
